<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML>
<HEAD><TITLE>413网上书城|管理员|添加新图书</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=utf8">
    <SCRIPT language=javascript>
        function isValidate(form1) {
            Book_name = form1.Book_name.value;
            Book_number = form1.Book_number.value;
            Author = form1.Author.value;
            Publisher = form1.Publisher.value;
            Price = form1.Price.value;

            if (Book_name == "") {
                alert("图书名称不能为空！");
                form1.Book_name.focus();
                return false;
            }
            if (Book_number == "") {
                alert("图书编号不能为空！");
                form1.Book_number.focus();
                return false;
            }
            if (Author == "") {
                alert("作者信息不能为空！");
                form1.Author.focus();
                return false;
            }
            if (Publisher == "") {
                alert("出版社信息不能为空！");
                form1.Publisher.focus();
                return false;
            }
            if (Price == "") {
                alert("单价信息不能为空！");
                form1.Price.focus();
                return false;
            }

            function isNull(str) {
                if (str.length == 0)
                    return true;
                else
                    return false;
            }

        }

    </SCRIPT>
    <LINK href="/addbook.files/25.css" type=text/css rel=stylesheet>
    <META content="MSHTML 6.00.2900.2523" name=GENERATOR>
</HEAD>
<BODY>
<DIV id=container>
    <DIV id=banner><IMG src="/addbook.files/p01.jpg"></DIV>
    <DIV id=globallink>
        <UL>
            <LI><A href="http://localhost:8080/bookstore1/enter.jsp#">首页</A></LI>
            <LI><A href="http://localhost:8080/bookstore1/login.jsp#">用户注册</A></LI>
            <LI><A href="http://localhost:8080/bookstore1/hot_books.jsp#">图书促销</A></LI>
            <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">在线阅读</A></LI>
            <LI><A href="http://localhost:8080/bookstore1/vip.jsp#">会员中心</A></LI>
            <LI><A href="http://localhost:8080/bookstore1/about_me.jsp#">联系我们</A></LI>
            <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">支付方式</A>
            </LI>
        </UL>
        <BR></DIV>
    <DIV id=left>
        <DIV id=login>网上书店欢迎你<A
                href="http://localhost:8080/bookstore1/booklist.jsp">[退出]</A>
            <UL>
                <LI>图书信息管理
                    <UL>
                        <LI><A href="display">查看图书</A>
                        <LI><A href="/addbook">增加图书</A></LI>
                        <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">订单管理</A>
                        <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">客户管理</A>
                        <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">查看留言</A>
                        </LI>
                    </UL>
        </DIV>
        <DIV id=category>
            <H4><SPAN>种类</SPAN></H4>
            <UL>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">计算机/网络</A>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">人文科社</A>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">培训教材</A>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">经济</A>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">管理</A>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">文化/文学</A>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">百科全书</A>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">艺术</A>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">小说</A>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">期刊杂志</A></LI>
            </UL>
            <H4><SPAN>品牌出版社</SPAN></H4>
            <UL>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">人民教育出版社</A>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">现代出版社</A>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">新世纪出版社</A>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">中国少儿出版社</A>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">清华大学出版社</A>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">泰博文化出版社</A>
                <LI><A href="http://localhost:8080/bookstore1/addbook.jsp#">科学普及出版社</A>
                </LI>
            </UL>
        </DIV>
    </DIV>
    <DIV id=main>
        <DIV id=latest><A href="http://localhost:8080/bookstore1/addbook.jsp#"><IMG
                src="../static/addbook.files/p06.jpg"></A></DIV>
        <FORM name=form1 onsubmit="return isValidate(form1)" action="/add" method=post>
            <DIV id=latt>
                <H2 align=center>添加图书信息</H2>
                <TABLE align=center>
                    <TBODY>
                    <TR>
                        <TH><FONT size=4>书名：</FONT></TH>
                        <TD><INPUT name=Book_name><FONT color=red size=5>*</FONT></TD>
                    </TR>
                    <TR>
                        <TH><FONT size=4>书号：</FONT></TH>
                        <TD><INPUT name=Book_number><FONT color=red size=5>*</FONT></TD>
                    </TR>
                    <TR>
                        <TH><FONT size=4>作者：</FONT></TH>
                        <TD><INPUT name=Author><FONT color=red size=5>*</FONT></TD>
                    </TR>
                    <TR>
                        <TH><FONT size=4>出版社：</FONT></TH>
                        <TD><INPUT name=Publisher><FONT color=red size=5>*</FONT></TD>
                    </TR>
                    <TR>
                        <TH><FONT size=4>定价：</FONT></TH>
                        <TD><INPUT name=Price><FONT color=red size=5>*</FONT></TD>
                    </TR>
                    <TR>
                        <TD>
                            <H4 align=center><INPUT type=reset value=重置></H4></TD>
                        <TD>
                            <H4
                                    align=center><INPUT type=submit value=添加></H4></TD>
                    </TR>
                    </TBODY>
                </TABLE>
            </DIV>
        </FORM>
        <DIV id=latest><A href="http://localhost:8080/bookstore1/addbook.jsp#"><IMG
                height=228 src="../static/addbook.files/p105.jpg" width=518></A></DIV>
    </DIV>
    <DIV id=bottom>
        <P><A
                href="http://localhost:8080/bookstore1/E?Dmail:lvzb212@demo.com">http://localhost:8080/bookstore1/E?Dmail:lvzb212@demo.com</A>
        </P></DIV>
</DIV>
</BODY>
</HTML>
